package com.chb.microservice.provider.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * 
 * ClassName: ServiceBClient<br>
 * Description: TODO 负载均衡.<br>
 *
 * @author dengw
 * @date: 2017年3月6日 下午3:16:35
 * @version V1.0
 * @since JDK 1.8
 */
//@FeignClient(value = "cbh-provider-test",fallback=UserHystrixWrapped.class)
@FeignClient(name = "cbh-provider-test")
//@RequestMapping("/v1/app/user")
public interface UserFeignClient {

    @RequestMapping(value = "/v1/app/user/login", method = RequestMethod.GET)
    String login();
}
